import request from '@/router/axios';

// 岗位删除
export const postRemove = (data) => {
  return request({
    url: '/api/uic-system/post/remove',
    method: 'post',
    isSerialize: true,
    data: {
      ...data
    }
  })
}


// 岗位新增或修改
export const postSubmit = (data) => {
  return request({
    url: '/api/uic-system/post/submit',
    method: 'post',
    data: {
      ...data
    }
  })
}

// 岗位列表
export const postPage = (data) => {
  return request({
    url: '/api/uic-system/post/page',
    method: 'get',
    params: {
      ...data
    }
  })
}

